﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#pragma once        
#include "GmFamilyService.h"

namespace gfam
{
    ///\brief 草图轮廓的状态
    enum class FamilySketchState : int32_t
    {
        NotClosed = 0,              ///<草图不封闭

        SelfIntersect = 1,          ///<草图中有环自交

        Intersect = 2,              ///<草图中有环相交

        NoAxis = 3,                 ///<草图中没有轴线

        NoProfile = 4,              ///<草图中没有轮廓

        ProfileAxisIntersect = 5,   ///<草图轮廓和轴线相交

        ProfileOnBothSides = 6,     ///<草图轮廓在轴线的两侧

        Valid = 7                   ///<草图合法

    };
}